home *** CD-ROM | disk | FTP | other *** search
/ PCMania 40 / PCMania CD40_1.iso / render40 / oca_a / clase.pov < prev    next >
Text File  |  1995-11-06  |  7KB  |  313 lines

  1. /*Para Pov 2.0. Esta escena fue creada usando FTPov, en un 486 DX4-100 tarda 
  2. 1 hora 6 minutos en  800x600. Cada archivo fue creado con Moray, excepto el de
  3. las texturas que fueron hechas desde fuera y luego unido todo a mano.
  4.  
  5. Raul Oca;a Rodriguez. Mostoles
  6. Tiempo de creacion:  3 semanas  Terminado: 4-10-1995.
  7. Ampliacion: 8-10-1995. Se ha a;adido los fluorescentes al techo y se ha corregi
  8. do el error que habia en el resplado de las sillas (Los tubos estaban delante
  9. del respaldo)
  10. Ampliacion 2 : 6-11-1995. Modificacion en las texturas de las perchas y en la
  11. del cielo. Tambien se ha a;adido 4 luces mas que se encuentran detras de las
  12. ventanas.*/
  13.  
  14.  
  15. #include "shapes.inc"
  16. #include "texturas.inc"
  17. #include "pupitre.inc"
  18. #include "percha.inc"
  19. #include "luz.inc"
  20.  
  21. camera {  
  22.   location  <2.000, -22.000, 7.300>
  23.   direction <0.0,     0.0,  0.5>
  24.   sky       <0.0,     0.0,  1.0>  // Use right handed-system!
  25.   up        <0.0,     0.0,  1.0>  // Where Z is up
  26.   right     <1.3333,  0.0,  0.0>
  27.   look_at   <-1.0, 10.0, 0.0> 
  28. }
  29.  
  30. light_source {   
  31.   <-20.0, 14.0, 10.0>
  32.   color rgb <1, 1, 1>
  33. }
  34.  
  35. light_source {   
  36.   <-20.0, -20.0, 4.5>
  37.   color rgb <1, 1, 1>
  38. }
  39.  
  40. light_source {
  41.   <18, -20, 4.5>
  42.   color rgb <1, 1, 1>
  43. }
  44.  
  45. light_source {
  46.    <18.0, 14.0, 7.0>
  47.    color rgb <1, 1, 1>
  48. }
  49.  
  50. light_source {   
  51.   <-22.0, 3.0, 5.0>
  52.   color rgb <.8, .8, .8>
  53. }
  54.  
  55. light_source {   
  56.   <-22.0, -2.0, 5>
  57.   color rgb <.8, .8, .8>
  58. }
  59.  
  60. light_source {
  61.   <-22, -7.3, 5>
  62.   color rgb <.8, .8, .8>
  63. }
  64.  
  65. light_source {
  66.    <-22.0, -13.5, 5>
  67.    color rgb <.8, .8, .8>
  68. }
  69.  
  70. #declare Paredizq = box {
  71.   <-1, -1, -1>, <1, 1, 1>
  72.   texture {
  73.     Pared
  74.   }
  75.   scale <0.5, 20.0, 10.20>
  76.   translate <-9.0, -5.0, 4.0>
  77. }
  78.  
  79. #declare HUECOVENTANA = box {
  80.   <-1, -1, -1>, <1, 1, 1>
  81.   texture {
  82.     Pared
  83.   }
  84.   scale <1.0, 1.7, 3.4>
  85.   translate <-9.255, 3.0, 5.0>
  86. }
  87.  
  88. #declare HUECOVENTANA1 = box {
  89.   <-1, -1, -1>, <1, 1, 1>
  90.   texture {
  91.     Pared
  92.   }
  93.   scale <1.0, 1.7, 3.4>
  94.   translate <-9.0, -2.0, 5.0>
  95. }
  96.  
  97. #declare HUECOVENTANA2 = box {
  98.   <-1, -1, -1>, <1, 1, 1>
  99.   texture {
  100.     Pared
  101.   }
  102.   scale <1.0, 1.7, 3.4>
  103.   translate <-9.0, -7.3, 5.0>
  104. }
  105.  
  106. #declare HUECOVENTANA3 = box {
  107.   <-1, -1, -1>, <1, 1, 1>
  108.   texture {
  109.     Pared
  110.   }
  111.   scale <1.0, 1.7, 3.4>
  112.   translate <-9.0, -13.5, 5.0>
  113. }
  114.  
  115. #declare MARCO = box {
  116.   <-1, -1, -1>, <1, 1, 1>
  117.   texture {
  118.     Gris_metal
  119.   }
  120.   scale <1.2, 2.1, 3.8>
  121.   translate <-9.3, 3.0, 5.0>
  122. }
  123.  
  124. #declare MARCO1 = box {
  125.   <-1, -1, -1>, <1, 1, 1>
  126.   texture {
  127.     Gris_metal
  128.   }
  129.   scale <1.2, 2.0, 3.8>
  130.   translate <-9.3, -2.2, 5.0>
  131. }
  132.  
  133. #declare MARCO2 = box {
  134.   <-1, -1, -1>, <1, 1, 1>
  135.   texture {
  136.     Gris_metal
  137.   }
  138.   scale <1.2, 2.2, 3.8>
  139.   translate <-9.3, -7.3, 5.0>
  140. }
  141.  
  142. #declare MARCO3 = box {
  143.   <-1, -1, -1>, <1, 1, 1>
  144.   texture {
  145.     Gris_metal
  146.   }
  147.   scale <1.2, 2.2, 3.8>
  148.   translate <-9.3, -13.5, 5.0>
  149. }
  150.  
  151. #declare CRISTAL = box {
  152.   <-1, -1, -1>, <1, 1, 1>
  153.   texture {
  154.     Cristal
  155.   }
  156.   scale <0.2, 1.7, 3.4>
  157.   translate <-9.0, 3.0, 5.0>
  158. }
  159. #declare CRISTAL1 = box {
  160.   <-1, -1, -1>, <1, 1, 1>
  161.   texture {
  162.     Cristal
  163.   }
  164.   scale <0.2, 1.7, 3.4>
  165.   translate <-9.0, -2.0, 5.0>
  166. }
  167.  
  168. #declare CRISTAL2 = box {
  169.   <-1, -1, -1>, <1, 1, 1>
  170.   texture {
  171.     Cristal
  172.   }
  173.   scale <0.2, 1.7, 3.4>
  174.   translate <-9.0, -7.3, 5.0>
  175. }
  176.  
  177. #declare CRISTAL3 = box {
  178.   <-1, -1, -1>, <1, 1, 1>
  179.   texture {
  180.     Cristal
  181.   }
  182.   scale <0.2, 1.7, 3.4>
  183.   translate <-9.0, -13.5, 5.0>
  184. }
  185.  
  186. union{
  187.   difference {
  188.     object { Paredizq }
  189.     object { HUECOVENTANA }
  190.     object { HUECOVENTANA1 }
  191.     object { HUECOVENTANA2 }
  192.     object { HUECOVENTANA3 }
  193.     object { MARCO }
  194.     object { MARCO1 }
  195.     object { MARCO2 }
  196.     object { MARCO3 }
  197.   texture {
  198.     Pared}
  199.     }  
  200.   object { CRISTAL }
  201.   object { CRISTAL1 }
  202.   object { CRISTAL2 }   
  203.   object { CRISTAL3 }
  204.   translate <-12.5, 8.4, 0>
  205. }
  206.  
  207. box {   // ParedFrente
  208.   <-1, -1, -1>, <1, 1, 1>
  209.   texture {
  210.     Pared
  211.   }
  212.   scale <15.5, 0.5, 10.0>
  213.   translate <-2.0, 15.0, 4.0>
  214. }
  215.  
  216. box {   // ParedDerch
  217.   <-1, -1, -1>, <1, 1, 1>
  218.   texture {
  219.     Pared
  220.   }
  221.   scale <3.5, 4.0, 10.0>
  222.   translate <16.5, 13.0, 4.0>
  223. }
  224.  
  225. box {   // ParedDerch2
  226.   <-1, -1, -1>, <1, 1, 1>
  227.   texture {
  228.     Pared
  229.   }
  230.   scale <0.4, 18.0, 10.0>
  231.   translate <18.5, 7.0, 4.0>
  232. }
  233.  
  234. #declare PIZARRA = box {
  235.   <-1, -1, -1>, <1, 1, 1>
  236.   texture {
  237.    Verde_mate
  238.   }
  239.   scale <3.6, 0.32, 1.6>
  240.   translate <0, 3.6, 0>
  241. }
  242.  
  243. #declare MARCOPIZARRA = box {
  244.   <-1, -1, -1>, <1, 1, 1>
  245.   texture {
  246.     Verde_metal
  247.   }
  248.   scale <4.0, 0.3, 2.0>
  249.   translate <0, 3.6, 0>
  250. }
  251.  
  252. union {
  253.   object { PIZARRA }
  254.   object { MARCOPIZARRA }
  255.   scale <2.0, 1.0, 2.5>
  256.   translate <-1.0, 11.0, 4.7>
  257. }
  258.  
  259. box {   // SUELO
  260.   <-1, -1, -1>, <1, 1, 1>
  261.   texture {
  262.     Suelo
  263.   }
  264.   no_shadow
  265.   scale <19.5, 18.5, 0.1>
  266.   translate <-1.0, 3.5, -6.0>
  267. }
  268.  
  269. box {   // TECHO
  270.   <-1, -1, -1>, <1, 1, 1>
  271.   texture {
  272.     Pared
  273.   }
  274.   no_shadow
  275.   scale <19.5, 18.5, 0.1>
  276.   translate <-1.0, 5.0, 14.0>
  277. }
  278.  
  279. sphere{ <0,0,0> 100 
  280.     texture {Cielo scale <25, 25, 25> }
  281. }
  282.  
  283. object {PUPITRE scale <1.4, 1.3, 1.6> translate <-12.7, 11.5, -5>}
  284. object {PUPITRE scale <1.4, 1.3, 1.6> translate <-12.7, 1.5, -5>}
  285. object {PUPITRE scale <1.4, 1.3, 1.6> translate <-12.7, -5.5, -5>}
  286. object {PUPITRE scale <1.4, 1.3, 1.6> translate <-12.7, -11.5, -5>}
  287.  
  288. object {PUPITRE scale <1.4, 1.3, 1.6> translate <-6.75, 11.5, -5>}
  289. object {PUPITRE scale <1.4, 1.3, 1.6> translate <-6.75, 1.6, -5>}
  290. object {PUPITRE scale <1.4, 1.3, 1.6> translate <-6.75, -5.5, -5>}
  291. object {PUPITRE scale <1.4, 1.3, 1.6> translate <-6.75, -11.5, -5>}
  292.  
  293. object {PUPITRE scale <1.4, 1.3, 1.6> translate <3.77, 11.5, -5>}
  294. object {PUPITRE scale <1.4, 1.3, 1.6> translate <4, 1.5, -5>}
  295. object {PUPITRE scale <1.4, 1.3, 1.6> translate <4, -5.5, -5>}
  296. object {PUPITRE scale <1.4, 1.3, 1.6> translate <4, -11.5, -5>}
  297.  
  298. object {PUPITRE scale <1.4, 1.3, 1.6> translate <9.2, 11.5, -5>}
  299. object {PUPITRE scale <1.4, 1.3, 1.6> translate <9.9, 1.5, -5>}
  300. object {PUPITRE scale <1.4, 1.3, 1.6> translate <9.9, -5.5, -5>}
  301. object {PUPITRE scale <1.4, 1.3, 1.6> translate <9.9, -11.5, -5>}
  302.  
  303. object {PERCHAS translate <18.2, -5.8, 4.5>}
  304. object {PERCHAS translate <18.2, -.4, 4.5>}
  305. object {PERCHAS translate <18.2, 4.5, 4.5>}
  306.  
  307. object {FLUORESCENTE scale <1, .4, 1> translate <8, -8.5, 13.5>} 
  308. object {FLUORESCENTE scale <1, .4, 1> translate <8, -4, 13.5>}
  309. object {FLUORESCENTE scale <1, .4, 1> translate <8, 1, 13.5>}
  310. object {FLUORESCENTE scale <1, .4, 1> translate <-11, -8.5, 13.5>}
  311. object {FLUORESCENTE scale <1, .4, 1> translate <-11, -4, 13.5>}
  312. object {FLUORESCENTE scale <1, .4, 1> translate <-11, 1, 13.5>}
  313.